package pojo;

import java.util.HashSet;
import java.util.Set;

/**
 * Block entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class Block implements java.io.Serializable {

	// Fields

	private Integer bid;
	private String btype;
	private String bname;
	private String bdes;
	private String bnumber;
	private Set publishfiles = new HashSet(0);
	private Set usermessages = new HashSet(0);
	private Set tasks = new HashSet(0);

	// Constructors

	/** default constructor */
	public Block() {
	}

	/** minimal constructor */
	public Block(String btype) {
		this.btype = btype;
	}

	/** full constructor */
	public Block(String btype, String bname, String bdes, String bnumber,
			Set publishfiles, Set usermessages, Set tasks) {
		this.btype = btype;
		this.bname = bname;
		this.bdes = bdes;
		this.bnumber = bnumber;
		this.publishfiles = publishfiles;
		this.usermessages = usermessages;
		this.tasks = tasks;
	}

	// Property accessors

	public Integer getBid() {
		return this.bid;
	}

	public void setBid(Integer bid) {
		this.bid = bid;
	}

	public String getBtype() {
		return this.btype;
	}

	public void setBtype(String btype) {
		this.btype = btype;
	}

	public String getBname() {
		return this.bname;
	}

	public void setBname(String bname) {
		this.bname = bname;
	}

	public String getBdes() {
		return this.bdes;
	}

	public void setBdes(String bdes) {
		this.bdes = bdes;
	}

	public String getBnumber() {
		return this.bnumber;
	}

	public void setBnumber(String bnumber) {
		this.bnumber = bnumber;
	}

	public Set getPublishfiles() {
		return this.publishfiles;
	}

	public void setPublishfiles(Set publishfiles) {
		this.publishfiles = publishfiles;
	}

	public Set getUsermessages() {
		return this.usermessages;
	}

	public void setUsermessages(Set usermessages) {
		this.usermessages = usermessages;
	}

	public Set getTasks() {
		return this.tasks;
	}

	public void setTasks(Set tasks) {
		this.tasks = tasks;
	}

}